package com.supplychain.financial.parent.api;

import java.util.List;
import java.util.Map;


public interface LeaveService {

	/*
	* 通过用户id获取数据
	*/
	public List<Map<String,Object>> findForList(Map param)throws Exception;

	public int save(Map param) throws Exception;

	/**
	 * 修改任务状态
	 * @param param
	 */
	public void updateLeave(Map<String, Object> param) throws Exception;

	public List<Map<String,Object>> getLeaveByTaskId(Map<String, Object> param) throws Exception;

	public List<Map<String,Object>> findById(String leaveId) throws Exception;

	List<Map<String, Object>> findMyPersonalTask(Map param) throws Exception;

	List<Map<String, Object>> taskList(Map param) throws Exception;
}
